package entity

import "time"

type User struct {
	Id        int       `json:"id"`
	Identity  string    `json:"identity"`
	Name      string    `json:"name"`
	Password  string    `json:"password"`
	Email     string    `json:"email"`
	Phone     string    `json:"phone"`
	CreatedAt time.Time `json:"createdAt" time_format:"2006-01-02 15:04:05"`
	UpdatedAt time.Time `json:"updatedAt" time_format:"2006-01-02 15:04:05"`
	DeletedAt time.Time `json:"-"`
}

func (u *User) TableName() string {
	return "user_basic"
}
